package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Reggie管理端的启动类
 */
@SpringBootApplication
@Slf4j
@MapperScan("com.itheima.reggie.mapper")
@EnableTransactionManagement
@EnableCaching
public class ReggieWebManageApplication {

    public static void main(String[] args) {
        //启动
        SpringApplication.run(ReggieWebManageApplication.class,args);
        //输出一句话：启动成功
        log.info("项目启动成功");
    }


}
